package com.itheima.mp.service;

import com.itheima.mp.domain.po.Address;
import com.baomidou.mybatisplus.extension.service.IService;
import com.itheima.mp.domain.vo.AddressVO;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author 顾清言
 * @since 2024-05-11
 */
public interface IAddressService extends IService<Address> {

    /**
     * 根据用户id查询地址列表
     * @param userId
     * @return
     */
    List<AddressVO> getByUserId(Long userId);
}
